//
//  DataManager.m
//  web_connect_photo
//
//  Created by endorand on 11. 12. 15..
//  Copyright (c) 2011년 __MyCompanyName__. All rights reserved.
//

#import "DataManager.h"

@implementation DataManager
@synthesize allAsset;
@synthesize allAssetDic;

-(id) init
{
	if ( self = [super init] )
	{
        allAsset = [[NSMutableArray alloc] initWithCapacity:0];
        allAssetDic = [[NSMutableDictionary alloc] initWithCapacity:0];
	}
	return self;
}

+(DataManager*) sharedManager
{
	static DataManager* sInst = nil;
	if ( sInst == nil )
	{
		@synchronized(self)
		{
			if ( sInst == nil )
			{
				sInst = [[self alloc] init];
			}
		}
	}
	return sInst;
}

@end
